Method and apparatus for estimating and controlling initial time slot gain in a wireless communication system

ABSTRACT

In a time-division duplex (TDD) system, a reliable initialization scheme that is applicable to an automatic gain controller (AGC) at a base station is implemented in various forms depending on the availability of certain information such as signal-to-interference ratio (SIR), spreading factors and other parameters. A more accurate estimation of the initial control word of a gain-adjustable amplifier for one or more time slots is implemented. The scheme is applicable to AGC initialization for each time slot of the TDD system, but is also applicable to other systems of transmission, without limitation.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 11/327,864 filed Jan. 9, 2006, which is a continuation of U.S. patent application Ser. No. 11/041,784 filed Jan. 24, 2005, which issued as U.S. Pat. No. 7,039,378 on May 2, 2006, which is a continuation of U.S. patent application Ser. No. 10/686,055 filed Oct. 14, 2003, which issued as U.S. Pat. No. 6,873,833 on Mar. 29, 2005, which claims the benefit of priority from U.S. Provisional Application No. 60/458,347, filed Mar. 27, 2003, which are incorporated by reference as if fully set forth.

FIELD OF INVENTION

This invention generally relates to an automatic gain controller (AGC) used in a wireless communication system. In particular, the invention relates to a reliable initialization scheme for estimating and controlling initial time slot gain control signals in a base station (BS) AGC.

BACKGROUND

In most wireless communication systems, the baseband signal at the receiver needs to be converted from analog format into digital format so that useful information can be recovered via a sequence of digital processes. The common device that achieves this conversion is an analog-to-digital converter (ADC). Given the number of output bits of the ADC, if the power of the input signal is too large, the output of the ADC may be saturated. On the other hand, if the power of the input signal is too small, the input signal may be severely quantized. In both cases, the information to be recovered at the received end may be lost. A common approach to solve this problem is to apply a dynamically adjustable gain amplifier in front of the ADC so that the input signal of the ADC can be maintained at a desired level.

Typically, the adjustable gain is controlled using a closed-loop mechanism, as shown in FIG. 1, which is also called an AGC 100. The AGC 100 includes two gain-adjustable amplifiers 105A and 105B, two ADCs 110A and 110B, a digital signal power estimator 115, a power comparator 120 and an accumulator 125. If the gain-adjustable amplifiers are controlled by an analog signal, a digital-to-analog converter (DAC) (not shown) may be inserted between the accumulator 125 and the gain-adjustable amplifiers 105A and 105B, or the DAC may be incorporated within the amplifiers 105A and 105B.

The gain-adjustable amplifiers 105A and 105B amplify or attenuate in-phase signal I and quadrature baseband signal Q. Signal I is received via an input 130 of gain-adjustable amplifier 105A and signal Q is received via an input 135 of gain-adjustable amplifier 105B. The ADCs 110A, 110B convert the amplified or attenuated analog signals and convert them into digital format.

Referring still to FIG. 1, the digital signal power estimator 115 estimates the total power of the digital signal at the output of power estimator 115. The comparator 120 compares the estimated digital signal input power 140 output from power estimator 115 with a power reference value P_(ref) 145 and generates an error signal 150 which represents the difference between the estimated input signal power 140 and the power reference value P_(ref) 145. The error signal 150 is then accumulated by the accumulator 125. Accumulator 125 outputs a gain control signal 155 having a control word w which is used to control the gain of the gain-adjustable amplifiers 105A, 105B. The gain control signal 155 depends not only on the power errors accumulated over time, but also on the initial value of the accumulator 125.

In many conventional digital communication systems, the input signal of an AGC is a continuous and smooth signal waveform. The power variation of the input signal is usually due to channel fading or power control and, therefore, such a power variation is slow relative to the dynamics of the AGC loop. Under this condition, the AGC loop will operate continuously without any interruption and the initial value of the accumulator is not important.

For digital communication systems using time division duplex (TDD) technology, there is a potentially large slot-to-slot variation of the received power, as shown in FIG. 2. This slot-to-slot power variation is primarily due to the fact that the systems using TDD technology can flexibly change the number of data bursts, which are spread with different codes and superposed together in each time slot, over time. Owing to this power variation, the AGC 100 is required to be able to set the gain in front of the ADCs 110A, 110B quickly and correctly. Otherwise, the data at the beginning of the time slot may be lost due to either saturation or severe quantization. To meet this requirement, the accumulator 125 must be restarted with an accurate initial value such that an initial gain control signal is provided to the gain-adjustable amplifiers 105A, 105B at beginning of each time slot. The initial gain value of the gain-adjustable amplifiers 105A, 105B directly depends upon the initial value provided by the accumulator 125.

What is needed is a method and apparatus to accurately determine the initial value of the accumulator 125 at the beginning of each uplink time slot at the base station, based on the level of information available at the base station.

SUMMARY OF THE INVENTION

The present invention provides a reliable initialization scheme that is applicable to an AGC. The scheme can be implemented in various forms depending on the availability of certain information, such as a signal-to-interference ratio (SIR), spreading factors, and other parameters.

Preferably, the present invention is implemented in a wireless communication system including an automatic gain controller (AGC). Initial time slot gain control signals are estimated and controlled by inputting an initial input signal in front of a gain-adjustable amplifier for a j'th timeslot in a k'th frame. A control word w_(l)[k−1, j] is applied to the gain-adjustable amplifier at the end of the j'th timeslot in the (k−1)'th frame. The initial input power is estimated based on the power measurement of the time slot j in the previous frame k−1 by removing the power of code signals that will disappear from the incoming time slot, and adding the power of new code signals that will arrive in the incoming time slot.

BRIEF DESCRIPTION OF THE DRAWINGS

A more detailed understanding of the invention may be had from the following description of a preferred example, given by way of example and to be understood in conjunction with the accompanying drawing wherein:

FIG. 1 illustrates a conventional AGC arrangement;

FIG. 2 illustrates a TDD radio frame structure and power profile;

FIG. 3 illustrates an AGC operating in accordance with the present invention where P_(in) ⁰[k, j] is the initial input signal power in front of a gain-adjustable amplifier for the j'th timeslot in the k'th frame; and

FIG. 4 is a flow chart illustrating method steps implemented by the AGC of FIG. 3.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT(S)

The present invention will be described with reference to the drawing figures wherein like numeral represent like elements throughout. The following description presents algorithms, with respect to different levels of assumption, to estimate the initial power control signal using such information.

While the description that follows is specifically explained as applicable to TDD and TDS CDMA (time division synchronous code-division multiple access), it is to be noted that the invention in its broad form is also applicable to other systems of transmission, without limitation.

Hereafter, a wireless transmit/receive unit (WTRU) includes but is not limited to a user equipment, mobile station, fixed or mobile subscriber unit, pager, or any other type of device capable of operating in a wireless environment. When referred to hereafter, a base station includes but is not limited to a base station, Node-B, site controller, access point or other interfacing device in a wireless environment.

FIG. 3 shows an AGC 300 operating in accordance with the present invention. The AGC 300 is similar to AGC 100, except that it further includes a slot clock 305, a frame clock 310 and an initial value generator 315. The slot clock 305 generates a reset signal 325 and sends it to the accumulator 125 at the beginning of each time slot. This reset signal 325 is used to signal the accumulator 125 to replace the data kept in the memory of the accumulator 125 with a new value that is newly computed by the initial value generator 315 and sent to the accumulator 125.

FIG. 4 is a flow chart of a method 400 implemented by AGC 300. In step 405, the slot clock 305 generates an index (j) 330 of the current time slot. In step 410, the frame clock 310 generates an index (k) 335 of the current frame. The initial value generator 315 receives the index (j) from the slot clock 305 and the index (k) from the frame clock 310 and calculates the initial control word w₀[k, j] in response to reset signal 325. It is assumed that the j'th time slot is an uplink time slot.

In general, the rate of the slot clock 305 is N times higher than that of the frame clock 310, where N is the number of time slots per frame. Using these indices, w₀[k, j] is denoted as the initial control word of the gain-adjustable amplifiers 105A and 105B for the j'th timeslot in the k'th frame. In step 415, system information and existing measurements 320 associated with the current (j'th) time slot in the k−1 and k'th frames is input into the initial value generator 315. At the beginning of each time slot, the initial value generator 315 computes the initial value of the accumulator 125 based on the system and existing measurements 320 (step 420), which is the same as the initial control word w₀[k, j] of the gain-adjustable amplifiers 105A, 105B, for the current time slot (j'th) and current frame (k'th). In step 425, once the new initial control word w₀[k, j] is available, it is sent to the accumulator 125. Upon receipt of the reset signal 325, the accumulator 125 outputs the new initial control word w₀[k, j] to the gain-adjustable amplifiers 105A, 105B. The gain value of the gain-adjustable amplifiers 105A, 105B is then reset (step 430). Ideally, if the initial control word w₀[k, j] is computed accurately, the initial output power at the beginning of the time slot will be very close to the reference power P_(ref) 145. As a result, minimal adjustment will be needed at the gain-adjustable amplifiers 105A, 105B during the time period of this time slot. Mathematically, this desired condition can be represented as: P _(ref) =G _(ADC)10^(bw) ^(o) ^([k,j]+α) P _(in) ⁰ [k,j]  Equation 1 where P_(ref) is the reference power (or the desired output power) of the ADCs 110A, 110B, G_(ADC) is the power gain of the ADCs 110A, 110B, P_(in) ⁰[k,j] is the initial input signal power in front of the gain-adjustable amplifiers 105A and 105B for the j'th timeslot in the k'th frame, w₀[k,j] is the initial control word w for the j'th timeslot in the k'th frame and 10^(bw+α) is the model of gain-adjustable amplifiers 105A and 105B. The variables b and α are characteristic parameters which are usually provided by manufacturers of gain-adjustable amplifiers 105A and 105B as part of their respective unit specifications.

From Equation 1, the initial control word w₀ [k, j] for the gain-adjustable amplifiers 105A and 105B can be expressed as $\begin{matrix} {{w_{0}\left\lbrack {k,j} \right\rbrack} = {\frac{1}{b}\left( {{\log\left( \frac{P_{ref}}{G_{ADC}{P_{i\quad n}^{0}\left\lbrack {k,j} \right\rbrack}} \right)} - \alpha} \right)}} & {{Equation}\quad 2} \end{matrix}$

On the right hand side of Equation 2, only the initial input signal power P_(in) ⁰[k,j] is unknown. The present invention provides a method for estimating the initial input signal power P_(in) ⁰[k,j]. The estimated P_(in) ⁰[k,j] is denoted as {circumflex over (P)}_(in) ⁰[k,j]. Then Equation 2 becomes: $\begin{matrix} {{w_{0}\left\lbrack {k,j} \right\rbrack} = {\frac{1}{b}\left( {{\log\left( \frac{P_{ref}}{G_{ADC}{{\hat{P}}_{i\quad n}^{0}\left\lbrack {k,j} \right\rbrack}} \right)} - \alpha} \right)}} & {{Equation}\quad 3} \end{matrix}$

The estimation accuracy of input power P_(in) ⁰[k,j] depends on the availability of the system and measurement information 320. The following description presents algorithms with respect to different levels of assumption about the availability of the system and measurement information 320.

In a first preferred embodiment, it is assumed that a receiver (e.g., in the base station (BS)) containing the AGC 300 knows all of the information about newly acquired data, and that the data that will disappear in the upcoming timeslot. Since the AGC 300 is located at the BS of a TDD communication system, for example, the information, such as spreading codes and SIR about the arriving data and disappearing data may be known at the BS. Using the above assumption, the present invention estimates the initial input power, based on the power measurement of this time slot j in the previous frame k−1 by (1) removing the power of the signals that will disappear from the incoming time slot j of frame k and (2) adding the power of the new signals that will arrive in the incoming time slot j of frame k.

For example, let the number of appearing new codes be N₁. Let {SIR_(i) ^(target)[k, j], i=1, . . . , N₁} be the target SIRs. Let {SF_(i), i=1, . . . , N₁} be the spreading factors for those codes in the j'th timeslot of the k'th frame. Let the number of disappeared old codes be N₂. Let {SIR_(i) ^(measure)[k−1, j], i=1, . . . N₂} be the measured SIRs. Let {SF_(i), i=N₁+1, . . . , N₁+N₂} be the spreading factors for those codes in the j'th timeslot of the (k−1)'th frame. In addition, let P _(est)[k−1, j] be the average power measurement at the output of the ADC 110 and let {circumflex over (P)}_(interf)[k−1, j] be the interference power estimation as an output of the channel estimation algorithm for the j'th timeslot in the (k−1)'th frame, respectively. Then, the estimated input power for the j'th timeslot in the k'th frame is: $\begin{matrix} {{{\hat{P}}_{i\quad n}^{0}\left\lbrack {k,j} \right\rbrack} = {{\frac{{\overset{\_}{P}}_{est}\left\lbrack {{k - 1},j} \right\rbrack}{G_{ADC}10^{{{bw}_{l}{\lbrack{{k - 1},j}\rbrack}} + \alpha}}\begin{pmatrix} {{{the}\quad{estimation}\quad{of}\quad{the}}\quad} \\ {{{input}\quad{power}\quad{of}\quad{time}\quad{slot}\quad j},} \\ {{{frame}\quad k} - 1} \end{pmatrix}} + {\frac{\begin{matrix} {C{{\hat{P}}_{interf}\left\lbrack {{k - 1},j} \right\rbrack}} \\ {\sum\limits_{i = 1}^{N_{1}}{{{SIR}_{i}^{target}\left\lbrack {{k - 1},j} \right\rbrack}/{SF}_{i}}} \end{matrix}}{G_{ADC}10^{{{bw}_{0}{\lbrack{k,j}\rbrack}} + \alpha}}\begin{pmatrix} {{{the}\quad{estimation}\quad{of}\quad{the}\quad{input}}\quad} \\ {{power}\quad{of}\quad{newly}\quad{arrived}\quad{signals}} \end{pmatrix}} - {\frac{\begin{matrix} {C{{\hat{P}}_{interf}\left\lbrack {{k - 1},j} \right\rbrack}} \\ {\sum\limits_{i = 1}^{N_{2}}{{{SIR}_{i}^{measure}\left\lbrack {{k - 1},j} \right\rbrack}/{SF}_{i + N_{1}}}} \end{matrix}}{G_{ADC}10^{{{bw}_{l}{\lbrack{{k - 1},j}\rbrack}} + \alpha}}{\left( \quad\begin{matrix} {{the}\quad{estimation}\quad{of}\quad{the}\quad{input}} \\ {{power}\quad{of}\quad{disappearing}\quad{signals}} \end{matrix} \right).}}}} & {{Equation}\quad 4} \end{matrix}$ where w_(i)[k−1, j] is the control word applying to the gain-adjustable amplifiers 105A, 105B at the end of the j'th timeslot in the (k−1)'th frame, and C is the constant term used in a WTRU transmit power calculation for balancing a potential power offset. Applying Equation 4 to Equation 3, the proper initial control words for the gain-adjustable amplifiers 105A, 105B are obtained as follows: $\begin{matrix} {{w_{0}\left\lbrack {k,j} \right\rbrack} = {{w_{l}\left\lbrack {{k - 1},j} \right\rbrack} + {\frac{10}{b}{{\log\left( \frac{\begin{matrix} {P_{ref}C{{\hat{P}}_{interf}\left\lbrack {{k - 1},j} \right\rbrack}} \\ {\sum\limits_{i = 1}^{N_{1}}{{{SIR}_{i}^{target}\left\lbrack {{k - 1},j} \right\rbrack}/{SF}_{i}}} \end{matrix}}{\begin{matrix} {{{\overset{\_}{P}}_{est}\left\lbrack {{k - 1},j} \right\rbrack} -} \\ {C{{\hat{P}}_{interf}\left\lbrack {{k - 1},j} \right\rbrack}} \\ {\sum\limits_{i = 1}^{N_{2}}{{{SIR}_{i}^{measure}\left\lbrack {{k - 1},j} \right\rbrack}/{SF}_{i + N_{1}}}} \end{matrix}} \right)}.}}}} & {{Equation}\quad 5} \end{matrix}$

AGC 300 operates in accordance with the present invention where {circumflex over (P)}_(in)[k, j] is the initial input signal power in front of the gain-adjustable amplifiers 105A, 105B for the j'th timeslot in the k'th frame. In a second preferred embodiment, it is assumed that the BS does not know all of the information that is needed. For example, the BS may not know the following information in advance:

-   -   a) which code will be disappearing,     -   b) the actual values of signal gain factors C for a newly         arriving code, but the maximum value of the factor C_(max) is         known, and     -   c) the spreading factors for each newly arriving code, but the         minimum spreading factors {SF_(i) ^(min), i=1, . . . , N₁} are         known.

Since it is preferred to overestimate the input power to prevent ADC 110 saturation, the estimated input power can be given as: N. $\begin{matrix} {{{\hat{P}}_{in}\left\lbrack {k,j} \right\rbrack} = {\frac{\begin{matrix} {C_{\max}{{\hat{P}}_{interf}\left\lbrack {{k - 1},j} \right\rbrack}} \\ {\sum\limits_{i = 1}^{N_{1}}{{{SIR}_{i}^{target}\left\lbrack {{k - 1},j} \right\rbrack}/{SF}_{i}^{\min}}} \end{matrix}}{G_{ADC}10^{{{bw}_{0}{\lbrack{k,j}\rbrack}} - \alpha}} + {\frac{{\overset{\_}{P}}_{est}\left\lbrack {{k - 1},j} \right\rbrack}{G_{ADC}10^{{{bw}_{l}{\lbrack{{k - 1},j}\rbrack}} + \alpha}}.}}} & {{Equation}\quad 6} \end{matrix}$

Now applying the above estimated input power into the Equation 3, the result can be expressed as: $\begin{matrix} {{w_{0}\left\lbrack {k,j} \right\rbrack} = {{w_{l}\left\lbrack {{k - 1},j} \right\rbrack} + {\frac{10}{b}{{\log\left( \frac{\begin{matrix} {P_{ref} - {C_{\max}{{\hat{P}}_{interf}\left\lbrack {{k - 1},j} \right\rbrack}}} \\ {\sum\limits_{i = 1}^{N_{1}}{{{SIR}_{i}^{target}\left\lbrack {k,j} \right\rbrack}/{SF}_{i}^{\min}}} \end{matrix}}{{\overset{\_}{P}}_{est}\left\lbrack {{k - 1},j} \right\rbrack} \right)}.}}}} & {{Equation}\quad 7} \end{matrix}$

Furthermore, if it is assumed that the BS has no information about C_(max) or {SF_(i) ^(min), i=1, . . . , N₁} or {SIR₁ ^(target)[k,j], i=1, . . . , N₁} in advance, the control word, based on Equation 7, reduces to: $\begin{matrix} {{w_{0}\left\lbrack {k,j} \right\rbrack} = {{w_{l}\left\lbrack {{k - 1},j} \right\rbrack} + {\frac{10}{b}{{\log\left( \frac{P_{ref}}{{\overset{\_}{P}}_{est}\left\lbrack {{k - 1},j} \right\rbrack} \right)}.}}}} & {{Equation}\quad 8} \end{matrix}$

Again, Equation 8 corresponds to overestimating the input power. It will generate smaller initial gain value for the gain-adjustable amplifiers and, therefore, prevent the ADC 110 from being saturated at the beginning of each time slot.

The foregoing describes a preferred example of an initialization scheme as per the invention. While this invention has been particularly shown and described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the scope of the invention as described hereinabove. 

1. An automatic gain amplifier circuit comprising: at least one gain-adjustable amplifier for receiving an analog signal, amplifying or attenuating the analog signal, and outputting a gain-adjusted signal; an accumulator for accumulating an error signal and outputting a gain control signal which is used to control the gain of the at least one gain-adjustable amplifier; and an initial value generator for calculating an initial control word and outputting the initial control word to the accumulator, the control word indicating a current time slot and a current frame.
 2. The automatic gain amplifier circuit of claim 1 further comprising: at least one analog-to-digital converter for converting the gain-adjusted signal into a digital signal; a power estimator for estimating the total power of the digital signal; a comparator for comparing the estimated digital signal total power with a power reference value to generate the error signal; and a slot clock for outputting an index (j) of the current time slot to the initial value generator, and for outputting a reset signal to the accumulator.
 3. The automatic gain amplifier circuit of claim 2 further comprising: a frame clock for outputting an index (k) of the current frame to the initial value generator, wherein the initial value generator calculates the initial control word in response to the accumulator receiving the reset signal.
 4. The automatic gain amplifier circuit of claim 3 wherein the initial value generator calculates the initial control word w₀[k, j] in response to the reset signal.
 5. The automatic gain amplifier circuit of claim 3 wherein the rate of the slot clock is N times higher than that of the frame clock, where N is the number of time slots per frame.
 6. The automatic gain amplifier circuit of claim 3 wherein the initial value generator receives system and measurement information associated with the current (j'th) time slot in the k−1 and k'th frames.
 7. A receiver comprising: at least one gain-adjustable amplifier for receiving an analog signal, amplifying or attenuating the analog signal, and outputting a gain-adjusted signal; an accumulator for accumulating an error signal and outputting a gain control signal which is used to control the gain of the at least one gain-adjustable amplifier; and an initial value generator for calculating an initial control word and outputting the initial control word to the accumulator, the control word indicating a current time slot and a current frame.
 8. The receiver of claim 7 further comprising: at least one analog-to-digital converter for converting the gain-adjusted signal into a digital signal; a power estimator for estimating the total power of the digital signal; a comparator for comparing the estimated digital signal total power with a power reference value to generate the error signal; and a slot clock for outputting an index (j) of the current time slot to the initial value generator, and for outputting a reset signal to the accumulator.
 9. The receiver of claim 8 further comprising: a frame clock for outputting an index (k) of the current frame to the initial value generator, wherein the initial value generator calculates the initial control word in response to the accumulator receiving the reset signal.
 10. The receiver of claim 9 wherein the initial value generator calculates the initial control word w₀[k, j] in response to the reset signal.
 11. The receiver of claim 9 wherein the rate of the slot clock is N times higher than that of the frame clock, where N is the number of time slots per frame.
 12. The receiver of claim 9 wherein the initial value generator receives system and measurement information associated with the current (j'th) time slot in the k−1 and k'th frames.
 13. A base station comprising: at least one gain-adjustable amplifier for receiving an analog signal, amplifying or attenuating the analog signal, and outputting a gain-adjusted signal; an accumulator for accumulating an error signal and outputting a gain control signal which is used to control the gain of the at least one gain-adjustable amplifier; and an initial value generator for calculating an initial control word and outputting the initial control word to the accumulator, the control word indicating a current time slot and a current frame.
 14. The base station of claim 13 further comprising: at least one analog-to-digital converter for converting the gain-adjusted signal into a digital signal; a power estimator for estimating the total power of the digital signal; a comparator for comparing the estimated digital signal total power with a power reference value to generate the error signal; and a slot clock for outputting an index (j) of the current time slot to the initial value generator, and for outputting a reset signal to the accumulator.
 15. The base station of claim 14 further comprising: a frame clock for outputting an index (k) of the current frame to the initial value generator, wherein the initial value generator calculates the initial control word in response to the accumulator receiving the reset signal.
 16. The base station of claim 15 wherein the initial value generator calculates the initial control word w₀[k, j] in response to the reset signal.
 17. The base station of claim 15 wherein the rate of the slot clock is N times higher than that of the frame clock, where N is the number of time slots per frame.
 18. The base station of claim 15 wherein the initial value generator receives system and measurement information associated with the current, j'th, time slot in the k−1 and k'th frames. 